package com.pureut.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.system.domain.MaterialCertificationDetail;
import com.pureut.system.domain.dto.MaterialCertificationDetailDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-04 18:56:12
 * @Desc: 物料认证明细
 */
@Mapper
public interface MaterialCertificationDetailMapper extends BaseMapper<MaterialCertificationDetail> {

    /**
     * 根绝认证id查询 所有明细
     * @param id
     * @return
     */
    List<MaterialCertificationDetailDto> getListByPid(@Param("id") Long id);
}
